package com.ctshk.rpc.system.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 退团扣费规则
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-01-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_main_data_deduction_rules")
@ApiModel(value="MainDataDeductionRules对象", description="退团扣费规则")
public class MainDataDeductionRules extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "退团扣费规则名称")
    private String deductionRules;

    @ApiModelProperty(value = "出发前天数")
    private Integer beforeDepartureDays;

    @ApiModelProperty(value = "扣费金额")
    private BigDecimal deductionAmount;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "是否删除(0：未删除 1：已删除)")
    private Integer isDeleted;

    @ApiModelProperty(value = "是否禁用（0：未禁用 1：已禁用）")
    private Integer status;

    @ApiModelProperty(value = "扣费退费类型(1：全部退  2：部分退）")
    private Integer deductionRefundType;

    @ApiModelProperty(value = "扣费金额类型（1：固定值 2：百分比）")
    private Integer deductionAmountType;

    @ApiModelProperty(value = "是否可退签证")
    private Integer isRetreatVisa;


}
